(function(YuXi){
	var loadding={};
	//提交加载
	loadding.show=function(){
		
		if($("#loadding").length<1){
			var html='<div class="modal fade in " id="loadding"><div class="modal-dialog" style="width: 300px;"><div class="modal-content"><div class="modal-header"><button type="button" class="close loadding-colse"  data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button><h4 class="modal-title">加载</h4></div><div class="modal-body"><p><img src="/yuxi/images/insertLoaddding.gif" style="width:25px;height:25px;">&nbsp;&nbsp;&nbsp;正在获取数据</p></div><div class="modal-footer"></div></div><!-- /.modal-content --></div><!-- /.modal-dialog --></div><!-- /.modal-->';
			$("body").append(html);		
			$(document).on("click",".loadding-colse",function(){
				$("#loadding").hide();
			});
		}
		
		$("#loadding").slideDown();		
		
		
	}
	loadding.hide=function(isMask){		
		$("#loadding").slideUp(200);
	}
	
	YuXi.loadding=loadding;
})(window.YuXi)
